/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.stock.entity;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.User;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 拣货Entity
 * @author 拣货
 * @version 2019-12-21
 */
public class Jh extends DataEntity<Jh> {
	
	private static final long serialVersionUID = 1L;
	private String outorder;		// 订单号
	private String type;		// 货物种类
	private String number;		// 数量
	private String jhUsername;		// 人员
	private String cdate;		// 日期
	private User user;		// 人员ID
	private String locid;		// 库位ID
	private String woods;		// 物料id
	private String beginCdate;		// 开始 日期
	private String endCdate;		// 结束 日期
	
	public Jh() {
		super();
	}

	public Jh(String id){
		super(id);
	}

	public String getOutorder() {
		return outorder;
	}

	public void setOutorder(String outorder) {
		this.outorder = outorder;
	}
	
	@Length(min=0, max=255, message="货物种类长度必须介于 0 和 255 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=11, message="数量长度必须介于 0 和 11 之间")
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@Length(min=0, max=255, message="人员长度必须介于 0 和 255 之间")
	public String getJhUsername() {
		return jhUsername;
	}

	public void setJhUsername(String jhUsername) {
		this.jhUsername = jhUsername;
	}
	
	@Length(min=0, max=255, message="日期长度必须介于 0 和 255 之间")
	public String getCdate() {
		return cdate;
	}

	public void setCdate(String cdate) {
		this.cdate = cdate;
	}
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	@Length(min=0, max=255, message="库位ID长度必须介于 0 和 255 之间")
	public String getLocid() {
		return locid;
	}

	public void setLocid(String locid) {
		this.locid = locid;
	}
	
	@Length(min=0, max=255, message="物料id长度必须介于 0 和 255 之间")
	public String getWoods() {
		return woods;
	}

	public void setWoods(String woods) {
		this.woods = woods;
	}
	
	public String getBeginCdate() {
		return beginCdate;
	}

	public void setBeginCdate(String beginCdate) {
		this.beginCdate = beginCdate;
	}
	
	public String getEndCdate() {
		return endCdate;
	}

	public void setEndCdate(String endCdate) {
		this.endCdate = endCdate;
	}
		
}